import Router from 'koa-router';
import userRoutes from './user.routes';
import customerRoutes from './customer.routes';
import servicesRoutes from './services.routes';
import orderRoutes from './order.routes';
import productRoutes from './product.routes';

const router = new Router();

router.use(userRoutes.routes());
router.use(customerRoutes.routes());
router.use(servicesRoutes.routes());
router.use('/orders', orderRoutes.routes());
router.use(productRoutes.routes());

export default router;
